<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./style.css">
    <link rel="stylesheet" href="./iconfont/iconfont.css">
</head>
<body>
    <nav class="sidebar close">
        <!-- close 默认侧边栏关闭 -->
        <header>
            <div class="image-text">
                <span class="image"><img src="kai.jpg" alt=""></span>
                <div class="text logo-text">
                    <span class="name">Kai</span>
                    <span class="profession">Web Developer</span>
                </div>
            </div>

            <i class="iconfont icon-rightarrowhead toggle"></i>
        </header>
        <div class="menu-bar">

            <div class="menu">
                <li class="search-box">
                    <i class="iconfont icon-search icon"></i>
                    <input type="text" placeholder="Search...">
                </li>



                <ul class="menu-links">
                    <li class="nav-link">
                        <a href="#">
                            <i class="iconfont icon-home icon"></i>
                            <span class="text nav-text">Dashboard</span>
                        </a>
                    </li>
                    <!-- 复制粘贴 -->
                    <li class="nav-link">
                        <a href="#">
                            <i class="iconfont icon-icons_column icon"></i>
                            <span class="text nav-text">Revenue</span>
                        </a>
                    </li>
                    <li class="nav-link">
                        <a href="#">
                            <i class="iconfont icon-Bell_ringing icon"></i>
                            <span class="text nav-text">Notifications</span>
                        </a>
                    </li>
                    <li class="nav-link">
                        <a href="#">
                            <i class="iconfont icon-clock icon"></i>
                            <span class="text nav-text">Analytics</span>
                        </a>
                    </li>
                    <li class="nav-link">
                        <a href="#">
                            <i class="iconfont icon-heart icon"></i>
                            <span class="text nav-text">Likes</span>
                        </a>
                    </li>
                    <li class="nav-link">
                        <a href="#">
                            <i class="iconfont icon-wallet icon"></i>
                            <span class="text nav-text">Wallets</span>
                        </a>
                    </li>


                </ul>
            </div>

            <div class="bottom-content">
                <li>
                    <a href="#">
                        <i class="iconfont icon-exit icon"></i>
                        <span class="text nav-text">Logout</span>
                    </a>
                </li>
                <li class="mode">
                    <div class="sun-moon">
                        <i class="iconfont icon-moon icon moon"></i>
                        <i class="iconfont icon-sun icon sun"></i>
                    </div>
                    <span class="mode-text text">Dark Mode</span>
                    <div class="toggle-switch">
                        <span class="switch"></span>
                    </div>
                </li>
            </div>

        </div>
    </nav>


    <section class="home">
        <div class="text">Dashboard Sidebar</div>
    </section>

    <script src="./script.js"></script>
</body>
</html>